home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / bbsutil / bsrc_250.zip / PROTOTYP.H < prev    next >
C/C++ Source or Header  |  1991-09-15  |  17KB  |  415 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*                                                                          */
  3. /*                                                                          */
  4. /*      ------------         Bit-Bucket Software, Co.                       */
  5. /*      \ 10001101 /         Writers and Distributors of                    */
  6. /*       \ 011110 /          Freely Available<tm> Software.                 */
  7. /*        \ 1011 /                                                          */
  8. /*         ------                                                           */
  9. /*                                                                          */
  10. /*  (C) Copyright 1987-91, Bit Bucket Software Co., a Delaware Corporation. */
  11. /*                                                                          */
  12. /*                                                                          */
  13. /*               Prototype definitions used in BinkleyTerm                  */
  14. /*                                                                          */
  15. /*                                                                          */
  16. /*    For complete  details  of the licensing restrictions, please refer    */
  17. /*    to the License  agreement,  which  is published in its entirety in    */
  18. /*    the MAKEFILE and BT.C, and also contained in the file LICENSE.250.    */
  19. /*                                                                          */
  20. /*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
  21. /*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
  22. /*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
  23. /*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
  24. /*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
  25. /*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
  26. /*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
  27. /*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
  28. /*                                                                          */
  29. /*                                                                          */
  30. /* You can contact Bit Bucket Software Co. at any one of the following      */
  31. /* addresses:                                                               */
  32. /*                                                                          */
  33. /* Bit Bucket Software Co.        FidoNet  1:104/501, 1:343/491             */
  34. /* P.O. Box 460398                AlterNet 7:491/0                          */
  35. /* Aurora, CO 80046               BBS-Net  86:2030/1                        */
  36. /*                                Internet f491.n343.z1.fidonet.org         */
  37. /*                                                                          */
  38. /* Please feel free to contact us at any time to share your comments about  */
  39. /* our software and/or licensing policies.                                  */
  40. /*                                                                          */
  41. /*--------------------------------------------------------------------------*/
  42.  
  43. #ifdef NEED_DOSREAD
  44. int             _dos_read(int, void far *, unsigned, unsigned int *);
  45. int             _dos_write(int, void far *, unsigned, unsigned int *);
  46. #endif
  47.  
  48. #ifdef NEED_CPUTS
  49. int _cdecl cputs (const char *);
  50. #endif
  51.  
  52. #ifdef NEED_PUTCH
  53. int _cdecl putch (int);
  54. #endif
  55.  
  56. #ifdef NEED_CPRINTF
  57. int _cdecl cprintf (const char *, ...);
  58. #endif
  59.  
  60. #ifdef NEED_MKTEMP
  61. extern char *mktemp (char *);
  62. #endif
  63.  
  64.  
  65. #ifndef OS_2
  66. int             MODEM_IN (void);
  67. int             MODEM_STATUS (void);
  68. int             PEEKBYTE (void);
  69. void            SENDBYTE (unsigned char);
  70. void            CLEAR_INBOUND (void);
  71. void            CLEAR_OUTBOUND (void);
  72. void            SENDCHARS (char far *, unsigned int, int);
  73. void            do_break (int);
  74. int _cdecl      real_flush (int);
  75. #else
  76. void            WRITE_ANSI (char);
  77. int             dir_findfirst (char far *, int, struct FILEINFO *);
  78. int             dir_findfirsta (char far *, int, struct FILEINFO *);
  79. int             dir_findnext (struct FILEINFO *);
  80. int             dir_findnexta (struct FILEINFO *);
  81. void            set_fileinfo (int, unsigned, unsigned);
  82. #endif /* OS_2  */
  83.  
  84. #ifdef Snoop
  85. static int far pascal _loadds mesgfunc(int error, char far *mesq);
  86. void            snoop_open(char *pipename);
  87. void            snoop_close(void);
  88. #endif /* Snoop */
  89.  
  90. #ifdef MILQ
  91. #include "MilqProt.H"
  92. #endif
  93.  
  94. struct _key_fnc_hdr    *KbMapSet( struct _key_fnc_hdr *KeyFncHdr );
  95.  
  96. #ifndef MILQ
  97. unsigned pascal         KbRemap( unsigned ScanCode );
  98. #endif
  99.  
  100. void            com_kick (void);
  101. void            b_sbinit (void);
  102.  
  103. #ifndef MILQ
  104. void            sb_box (REGIONP, int, int);
  105. void            sb_caption(REGIONP, char * );
  106. #endif
  107.  
  108. void            sb_clean (void);
  109. void            sb_dirty (void);
  110.  
  111. #ifndef MILQ
  112. void            sb_fill (REGIONP, int, int);
  113. void            sb_filla (REGIONP, int);
  114. void            sb_fillc (REGIONP, int);
  115. #endif
  116.  
  117. void            sb_init (void);
  118.  
  119. #ifndef MILQ
  120. void            sb_move (REGIONP, int, int);
  121. #endif
  122.  
  123. int             sb_input_chars (REGIONP, int, int, char *, int);
  124. REGIONP         sb_new (int, int, int, int);
  125. int             sb_popup (int, int, int, int, int (*) (BINK_SAVEP, int), int);
  126. int             sb_putc (REGIONP, int);
  127.  
  128. #ifndef MILQ
  129. void            sb_puts (REGIONP, char *);
  130. #endif
  131.  
  132. #ifndef MILQ
  133. unsigned char   sb_ra (REGIONP, int, int);
  134. unsigned char   sb_rc (REGIONP, int, int);
  135. unsigned int    sb_rca (REGIONP, int, int);
  136. #endif
  137.  
  138. void            sb_restore (BINK_SAVEP);
  139. BINK_SAVEP      sb_save (int, int, int, int);
  140.  
  141. #ifndef MILQ
  142. void            sb_scrl (REGIONP, int);
  143. int             sb_set_scrl (REGIONP, int, int, int, int);
  144. #endif
  145.  
  146. void            sb_show (void);
  147.  
  148. #ifndef MILQ
  149. void            sb_wa (REGIONP, int, int);
  150. void            sb_wc (REGIONP, int, int);
  151. void            sb_wca (REGIONP, int, int, int);
  152. #endif
  153.  
  154. int             Overlay_Do_Get (BINK_SAVEP, int);
  155. int             Do_Get (BINK_SAVEP, int);
  156. int             Overlay_Do_Get (BINK_SAVEP, int);
  157. int             Do_Send (BINK_SAVEP, int);
  158. int             Overlay_Do_Send (BINK_SAVEP, int);
  159. int             Do_Kill (BINK_SAVEP, int);
  160. int             Overlay_Do_Kill (BINK_SAVEP, int);
  161. int             Do_Poll (BINK_SAVEP, int);
  162. int             Overlay_Do_Poll (BINK_SAVEP, int);
  163.  
  164. int             Upload (char *, int, char *);
  165. int             Download (char *, int, char *);
  166.  
  167. void            set_prior (int);
  168. int             load_language (void);
  169. void            b_initvars (void);
  170. void            b_defaultvars (void);
  171. void            b_exitproc (void);
  172. int             got_ESC (void);
  173. void            BBSexit (void);
  174. char           *estring (int, int);
  175. long            timerset (unsigned int);
  176. int             timeup (long);
  177. void            dostime (int *, int *, int *, int *);
  178. void _cdecl     time_release (void);
  179. unsigned        Cominit (int, int);
  180. unsigned        Com_ (char, byte);
  181. void            MDM_DISABLE (void);
  182. void            MDM_ENABLE (unsigned);
  183. void            BUFFER_BYTE (unsigned char);
  184. void            UNBUFFER_BYTES (void);
  185. void            fossil_gotoxy (int, int);
  186. int             fossil_wherex (void);
  187. int             fossil_wherey (void);
  188. unsigned _cdecl windows_active (void);
  189. unsigned _cdecl dv_get_version (void);
  190. unsigned _cdecl tv_get_version (void);
  191. unsigned _cdecl ddos_active (void);
  192. unsigned _cdecl ml_active (void);
  193. unsigned _cdecl mos_active (void);
  194. void            dos_break_off (void);
  195. void            mtask_find (void);
  196. void _cdecl     windows_pause (void);
  197. void _cdecl     mos_pause (void);
  198. void _cdecl     dv_pause (void);
  199. void _cdecl     ddos_pause (void);
  200. void _cdecl     tv_pause (void);
  201. void _cdecl     ml_pause (void);
  202. void _cdecl     msdos_pause (void);
  203. void _cdecl     os2_pause (void);
  204. void            status_line (char *,...);
  205. int